<?php
include_once('blocks/left.php');
if($danhmuc=='san-pham') include_once('order.php');
$view_post .= '<div id="right_view">';
$view_post .= $tc->navigator($row_menu_one['url'],$row_menu_one['name'],$row_menu_one['title']);
$view_post .= '<h1>'.$row_detail['name'].'</h1><div id="datetime">'.date('d/m/Y H:i',strtotime($row_detail['date_create'])).'</div><div id="view_post">'.$row_detail['content'].'</div>'.$view_order.'<hr />';
include_once('blocks/nhanxet.php');

$baiviet = $tc->baivietkhac($idMenu,$row_detail['id']);
if(mysql_num_rows($baiviet)>1){
	$view_post .= '<div id="baivietkhac"><div style="color:#666; font-weight:bold; font-size:18px; margin-bottom:10px">Bài viết khác</div>';
	while($row = mysql_fetch_array($baiviet)){
		$view_post .= '<li><a href="'.$row_menu_one['url'].$row['name_rewrite'].'.html" title="'.$row['name'].'">'.$row['name'].'</a></li>';
	}
	$view_post .= '</div>';
}
$view_post .= '</div>';